package com.zking.service.impl.ypf;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.Information;
import com.zking.dao.domain.User;
import com.zking.dao.mapper.ypf.INcompany;
import com.zking.service.ypf.INserteCom;

@Service
public class INserteComImpl implements INserteCom {
	@Autowired
	INcompany incompany;

	@Override
	//增加一条数据
	public int incom(Information information) {
		int i=incompany.incom(information);
		return i;
	}
	
	public int ins(Information information) {
		int i=incompany.ins(information);
		return i;
	}

	@Override
	public User selectUser(User user) {
		User user2=incompany.selectUser(user);
		return user2;
	}

	@Override
	public Information selectCom_audit(Information information) {
		Information Com_audit=incompany.selectCom_audit(information);
		return Com_audit;
	}

}
